<title>
	DouPHP 管理中心 - 添加产品 </title>

<script type="text/javascript" src="<?php echo __PUBLIC__?>Admin/js/jquery.autotextarea.js"></script>

<div id="dcMain">
	<!-- 当前位置 -->
	<div id="urHere">DouPHP 管理中心<b>></b><strong>添加产品</strong> </div>
	<div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
		<h3><a href="index.php?m=admin&c=product&a=index" class="actionBtn">产品列表</a>添加产品</h3>
		<form action="index.php?m=admin&c=product&a=add" method="post" enctype="multipart/form-data">
			<table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
				<tr>
					<td width="90" align="right">产品名称</td>
					<td>
						<input type="text" name="title" value="" size="80" class="inpMain" />
					</td>
				</tr>
				<tr>
					<td align="right">产品分类</td>
					<td>
						<select name="cat_id">
							<?php foreach($this->cat as $val):?>
							<option value="<?php echo $val['id']?>">
								<?php echo $val['name'];?>
							</option>
							<?php endForeach;?>

						</select>
					</td>
				</tr>
				<tr>
					<td align="right">产品图片</td>
					<td>
						<input type="file" name="image" size="38" class="inpFlie" />
						<img src="<?php echo __PUBLIC__?>Admin/images/icon_no.png"></td>
				</tr>

				<tr>
					<td></td>
					<td>
						<input name="submit" class="btn" type="submit" value="提交" />
					</td>
				</tr>
			</table>
		</form>
	</div>
</div>